    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
	  <html xmlns="http://www.w3.org/1999/xhtml">
	    <head>
		    <link rel="stylesheet" type="text/css" href="Styles/spsfbranding.css"/>				
		    		<title>Environment Permission</title>
				<meta name="Description" content="Adds a EnivronmentPermission to the project. Controls access to system and user environment variables." />
		<style type="text/css">

		.OH_TocResize
		{	
			top: 126px;
		}

		</style>
	</head>	
	<body class="primary-mtps-offline-document">
	<table height="93" width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="height:93px; background-image: url('./_img/header_background.jpg'); background-repeat: repeat-x;"><img src="./_img/header_left.jpg" /></td><td valign="right" style="height:93px; background-image: url('./_img/header_background.jpg'); background-repeat: repeat-x; text-align: right;"><img src="./_img/header_right.jpg" /></td></tr></table><div class="OH_outerDiv">
			<div style="WIDTH: 280px" id="LeftNav" class="OH_leftNav">
				<div id="toc">
					<div id="toc_parent">
						<div class="OH_parentTocLinks"><a title="SharePoint Software Factory 2010" href="SPSF_ROOT.html">SharePoint Software Factory 2010</a><br/><a title="Recipe Index" href="SPSF_RECIPES_INDEX.html">Recipe Index</a><br/><a title="SPSF Artefacts" href="SPSF_RECIPES_CATEGORY_ARTEFACTS.html">SPSF Artefacts</a><br/><a title="Security" href="SPSF_RECIPES_CATEGORY_SECURITY.html">Security</a><br/></div></div>					
						<div id="toc_children">
							<div class="OH_selfTocLinks"><a title="Minimal CAS" href="SPSF_RECIPE_MINIMALCAS.html">Minimal CAS</a><br /><a title="Medium CAS" href="SPSF_RECIPE_MEDIUMCAS.html">Medium CAS</a><br /><a title="AspNetHosting Permission" href="SPSF_RECIPE_ASPNETHOSTINGPERMISSION.html">AspNetHosting Permission</a><br /><a title="Reflection Permission" href="SPSF_RECIPE_REFLECTIONPERMISSION.html">Reflection Permission</a><br /><a title="Dns Permission" href="SPSF_RECIPE_DNSPERMISSION.html">Dns Permission</a><br /><div title="Environment Permission" class="OH_selectedChild">Environment Permission</div><a title="Printing Permission" href="SPSF_RECIPE_PRINTINGPERMISSION.html">Printing Permission</a><br /><a title="FileIO Permission" href="SPSF_RECIPE_FILEIOPERMISSION.html">FileIO Permission</a><br /><a title="WebPart Permission" href="SPSF_RECIPE_WEBPARTPERMISSION.html">WebPart Permission</a><br /><a title="SqlClient Permission" href="SPSF_RECIPE_SQLCLIENTPERMISSION.html">SqlClient Permission</a><br /><a title="Registry Permission" href="SPSF_RECIPE_REGISTRYPERMISSION.html">Registry Permission</a><br /><a title="SharePoint Permission" href="SPSF_RECIPE_SHAREPOINTPERMISSION.html">SharePoint Permission</a><br /><a title="Security Permission" href="SPSF_RECIPE_SECURITYPERMISSION.html">Security Permission</a><br /><a title="SMTP Permission" href="SPSF_RECIPE_SMTPPERMISSION.html">SMTP Permission</a><br /></div></div><div id="toc_siblings"><div class="OH_siblingTocHeader">Related Links</DIV><div class="OH_siblingTocLinks">							<br /></div></div></div></div><div style="LEFT: 279px" id="TocResize" class="OH_TocResize"></div>
				<div class="OH_outerContent">
				  
		<div class="OH_topic">		 
     
		  <div class="OH_title">
			<table>
			  <tbody>
				<tr>
				  <td class="OH_tdTitleColumn">
					<div class="subHeading"><small>SharePoint Software Factory 2010</small></div><br />
					Environment Permission
				  </td>
				  <td class="OH_tdLogoColumn">
				  				  </td>
				</tr>
			  </tbody>
			</table>
		  </div>
		</div>
		<div id="mainSection">
			<div id="mainBody">            
				<div class="introduction"><p>Adds a EnivronmentPermission to the project. Controls access to system and user environment variables.</p></div>
				




                      <DIV class="OH_CollapsibleAreaRegion">
					        <DIV class="OH_regiontitle">Recipe Description</DIV>
					        <DIV class="OH_RegionToggle"></DIV>
				        </DIV>
				        <DIV class="OH_clear"></DIV>
				        <p>
                        The recipe adds a line for the permission to the Package.Template.xml (for VS 2010 projects) or to the file CASPolicy.txt (for HIVE projects). Warning: Existing permissions with the same name are replaced completely.
				        </p>
				                   
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td>Read</td>
								<td>Optional text. Only read access to environment variables is specified. Changing, deleting and creating environment variables is not included in this access level.</td>
							</tr>                
														<tr>
								<td>Write</td>
								<td>Optional text. Only write access to environment variables is specified. Write access includes creating and deleting environment variables as well as changing existing values. Reading environment variables is not included in this access level.</td>
							</tr>                
														<tr>
								<td>All Access</td>
								<td>Optional text. Read and Write access to environment variables.</td>
							</tr>                
														<tr>
								<td>No Access</td>
								<td>Optional text. No access to environment variables.</td>
							</tr>                
														<tr>
								<td>Unrestricted</td>
								<td>Optional Boolean. If Unrestricted is true, the other settings will be ignored.</td>
							</tr>                
							                </table>
				</p>
                           <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     
				</div>			
			</div>
							<div class="OH_feedbacklink"><hr size="1" />SharePoint Software Factory 2010, Version 3.2, see <a href="SPSF_OVERVIEW_800_LICENSE.html">License</a> for more information</div>
				<br />
								</div>
				</div>
					</body>
</html>


